<!-- 录入内容模块 - 根据工作类型动态显示 -->
{if isset($job_content)}
    {if condition="$job_content.job_type_code == 1"}
        <!-- 继续教育类型 -->
        {include file="pt/job_order/detail_content_education" /}
    {elseif condition="$job_content.job_type_code == 2" /}
        <!-- 科研论文类型 -->
      {if isset($job) && isset($job.title) && !empty(trim($job.title))}
        {switch $job.title}
            {case '论文'}
                {include file="pt/job_order/detail_content_paper" /}
            {/case}
            {case '著作'}
                {include file="pt/job_order/detail_content_book" /}
            {/case}
            {case '专利'}
                {include file="pt/job_order/detail_content_patent" /}
            {/case}
            {case '科研'}
                {include file="pt/job_order/detail_content_research" /}
            {/case}
            {default}
                {include file="pt/job_order/detail_content_other" /}
            {/default}
        {/switch}
    {/if}
         
    {elseif condition="$job_content.job_type_code == 3" /}
        <!-- 其他工作类型 -->
       {include file="pt/job_order/detail_content_other" /}
    {else /}
        <!-- 默认显示 -->
        <div class="panel panel-info">
            <div class="panel-heading">
                <h3 class="panel-title"><i class="fa fa-list-alt"></i> 录入要求</h3>
            </div>
            <div class="panel-body">
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">需要录入的内容：</label>
                    <div class="col-xs-12 col-sm-10">
                        <div class="well">
                            <h4>工作内容详情</h4>
                            <p>工作类型代码：{$job_content.job_type_code|default='未知'}</p>
                            {if condition="$job_content.data"}
                                <pre>{$job_content.data|json_encode}</pre>
                            {else /}
                                <p class="text-muted">暂无具体数据</p>
                            {/if}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    {/if}
{else /}
    <!-- 无工作内容时显示 -->
    <div class="panel panel-info">
        <div class="panel-heading">
            <h3 class="panel-title"><i class="fa fa-list-alt"></i> 录入要求</h3>
        </div>
        <div class="panel-body">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">需要录入的内容：</label>
                <div class="col-xs-12 col-sm-10">
                    <div class="well">
                        <p class="text-muted">暂无工作内容</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
{/if}
